import Vue from 'vue'
import Vuex from 'vuex'
import actions from './action.js'
import mutations from './mutations.js'
Vue.use(Vuex)
const state={
  username:'',
  cartCount:0,
}
export default new Vuex.Store({
  state,
  mutations,
  actions,
})